﻿using SqlSugar;

namespace Model.Entitys
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("t_users")]
    public partial class Users
    {
        /// <summary>
        /// Desc:用户id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:用户姓名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Username { get; set; }

        /// <summary>
        /// Desc:年龄
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Age { get; set; }

        /// <summary>
        /// Desc:身高
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? Stature { get; set; }

        /// <summary>
        /// Desc:体重
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? Weight { get; set; }

        /// <summary>
        /// Desc:个人简介
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Introduction { get; set; }

        public string? AvatarUrl { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>   
        [SqlSugar.SugarColumn(InsertServerTime=true)]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:更新时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SqlSugar.SugarColumn(InsertServerTime = true,UpdateServerTime = true)]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:False
        /// </summary>           
        [SqlSugar.SugarColumn(IsEnableUpdateVersionValidation = true)]
        public long Version { get; set; }

        /// <summary>
        /// Desc:
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public bool Isdeleted { get; set; }

    }
}
